import traceback

import requests,json
url = "http://139.224.187.174:9010/external/server/GetGatewayRouting"
header = {'Accept-Charset': 'UTF-8',
          'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
          'Accept-Encoding': 'gzip, deflate,',
          'Accept-Language': 'zh-CN,zh;q=0.9',
          'Host': '139.224.187.174:9010',
          'User-Agent ': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36'}
data = {"name": "routing"}

try:
	response = requests.post(url, header, data)
	print(response.content)
	print(response.json())
except BaseException as e:
	msg = traceback.format_exc()
	print(msg)
finally:
	pass
